﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;

namespace Logistics.Contract
{
    public interface ICargoownerContractAppService
    {
        Task<int> Delete(int Id);

        Task<CargoownerDto> Create(CargoownerDto ca);

        Task<CargoownerDto> GetCargoownerById(int Id);

        Task<PagedResultDto<CargoownerDto>> GetCargoowners(CargoownerSearchDto csd);

        Task<int> Update(CargoownerDto ca);
        Task<PagedResultDto<CargoownerDto>> GetDapperCargoowners(CargoownerSearchDto csd);
    }
}
